package com.aerotechnic.dao.interfaces;

import java.util.List;

import com.aerotechnic.entities.Avion;

public interface AvionDaoIn {

	void save(Avion myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
    
    void update(Avion myEntity);
    
    void delete(Long id);

    Avion findByID(Long id);
    
    List<Avion> findAll();
    
}
